from xadmin.views import BaseAdminView, CommAdminView
import xadmin


class ThemeSetting:
    enable_themes = True
    use_bootswatch = True


class CustomView:
    site_title = "移动安全Web漏洞扫描及风险评估系统后台"
    site_footer = "Copywrite 深圳能信安技术有限公司"
    menu_style = "default"


xadmin.site.register(BaseAdminView, ThemeSetting)
xadmin.site.register(CommAdminView, CustomView)